#include<iostream>
using namespace std;

struct ListNode
{
	ListNode* _next;
	ListNode* _prev;
	int _val;
	
	ListNode(int val)
	{
		_next = nullptr;
		_prev = nullptr;
		_val = val;
	}
};
int main()
{
	//C
	struct ListNode* n1 = (struct ListNode*)malloc(sizeof(struct ListNode));
	n1->_next = nullptr;
	n1->_prev = nullptr;
	n1->_val = 0;

	//C++
	ListNode* n2 = new ListNode(0);


	return 0;
}